index.js ➔ ... ➔ ???   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
c 0
b 0
f 0
nc 1
dl 0
loc 3
rs 10
nop 0
1
import logger, {
2
	loggerEvent,
3
	logAction,
4
	logOperation,
5
	addTransactionId,
6
	toMiddleware,
7
	tagService,
8
	enhancedRender,
9
	compose,
10
} from '../index';
11
12
describe('n-auto-logger exports', () => {
13
	it('logger', () => {
14
		expect(typeof logger).toBe('object');
15
	});
16
17
	it('loggerEvent', () => {
18
		expect(typeof loggerEvent).toBe('function');
19
	});
20
21
	it('logAction', () => {
22
		expect(typeof logAction).toBe('function');
23
	});
24
25
	it('logOperation', () => {
26
		expect(typeof logOperation).toBe('function');
27
	});
28
29
	it('toMiddleware', () => {
30
		expect(typeof toMiddleware).toBe('function');
31
	});
32
33
	it('addTransactionId', () => {
34
		expect(typeof addTransactionId).toBe('function');
35
	});
36
37
	it('tagService', () => {
38
		expect(typeof tagService).toBe('function');
39
	});
40
41
	it('enhancedRender', () => {
42
		expect(typeof enhancedRender).toBe('function');
43
	});
44
45
	it('compose', () => {
46
		expect(typeof compose).toBe('function');
47
	});
48
});
49